package com.ee.chat.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author AppiJ
 * @since 2020-10-10
 */
@TableName("user_remark_log")
public class UserRemarkLog implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 用户id
	 */
	@TableField(value="user_id")
	private Integer userId;

	/**
	 * 备注内容
	 */
	private String content;

	/**
	 * 备注类型 0-普通备注 1-重点备注
	 */
	private Integer type;

	/**
	 * 操作人员id
	 */
	@TableField(value="admin_id")
	private Integer adminId;

	/**
	 * 创建时间
	 */
	@TableField(value="create_time")
	private Date createTime;

	public UserRemarkLog() {
	}

	public UserRemarkLog(Integer userId, String content, Integer type, Integer adminId) {
		this.userId = userId;
		this.content = content;
		this.type = type;
		this.adminId = adminId;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getAdminId() {
		return adminId;
	}

	public void setAdminId(Integer adminId) {
		this.adminId = adminId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}
